import { useAxios } from '@/hooks/web/useAxios'
const request = useAxios()
import { useCache } from '@/hooks/web/useCache'
const { wsCache } = useCache()
// 列表
export const adminFaXtestListApi = (data: any) => {
  return request.post({
    url: 'index.php/api/common',
    headers: { token: wsCache.get('token') },
    data: {
      code: 'adminFaVaccineInjectOrderList',
      data: data
    }
  })
}
// 新增
export const adminFaXtestAddListApi = (data: any) => {
  return request.post({
    url: 'index.php/api/common',
    headers: { token: wsCache.get('token') },
    data: {
      code: 'adminFaVaccineInjectOrderAdd',
      data: data
    }
  })
}
